•Grails interactive is interactive mode of the grails command line interface. It lets you run Gant scripts in the script runner one after another.
•Grails console is a Swing-based command console similar to the Groovy console. It let’s you execute code against a full environment that has access to all your domain classes and quickly test out code that would go into controllers and services.
•Grails shell is the headless version of Grails console. This is useful when you want to access and test out code in a remote SSH-based server. One of the advantages of the Grails shell is that it does not reload when domain classes change like the console does, so it is useful also for long-running scripts, although the new run – script command in Grails 1.3.6 might be better suited for those.
Posted Date:- 2021-12-01 08:39:29
What exactly do you know about Listeners and closure in Groovy?
What are the features Groovy JDK is equipped with?
What are constraints in Grails? Give me three examples.
Explain Gorm events. Provide two examples.
What is the difference between a dynamic finder, a HQL query and a criteria?
What are the basic requirements for Groovy?
Is it possible for you to integrate the Groovy with other applications that are not based on Java?
What are named queries? Where do you define them?
What does the removeFrom() function do in a domain object?
What is the difference between calling a read() and a get() in GORM?
Explain what lock() is in GORM and why you would use it.
Explain what joinTable does within GORM.
Explain the different options available to dbCreate.
What is the _Events.groovy file? What can it be used for?
How do I create a custom script in Grails?
What is the difference between run-app and run-war?
What happens when you call grails bug-report?
What are some things I need to be careful about when working with the Grails console?
What is the difference between validate() and save()?
What are Grails command objects? How can they be used in validation?
Give me two examples of constraints that affect database generation.
Give me two examples of constraints that affect the display within scaffolding views.
What are constraints in Grails? Give me three examples.
How do I inspect the built-in HSQLDB database included with Grails?
How do I get a hold of my Spring beans in the Grails console?
I have a hibernate HBM file I want to include in my Grails application. Where do I edit this?
Explain Gorm events. Provide two examples.
How can you run sql directly in Grails?
What is the difference between the Grails console, shell and interactive modes?
Explain the difference between the Config.groovy and BuildConfig.groovy files.
Explain the concept of externalized configuration. What is this good for?
How do I edit the web.xml file of my grails application?
What do you understand by metaprogramming?
List down some of the advantages of Groovy.
What is the difference between a dynamic finder, a HQL query and a criteria?
What are named queries? Where do you define them?
What does the removeFrom() function do in a domain object?
What is the difference between calling a read() and a get() in GORM?
Please explain what lock() is in GORM and why you would use it.
Please explain what joinTable does within GORM.
What is the _Events.groovy file? What can it be used for?
How do I create a custom script in Grails?